<?php

class ActionLogout extends BaseAction
{
    public function run()
    {
        $this->isRender = false;
        
        Yii::app()->user->logout();
        Yii::app()->request->redirect(Yii::app()->controller->createUrl('login'));
    }
}